package com.yang.SpringTest.annotation.lazyLearn;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;

/**
 * <p>配置类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.lazyLearn
 * Ceate Time 2024-03-21 16:07
 */
@Configuration
public class LazyDemoConfig {

    @Bean
    @Lazy
    public LazyDemoBean lazyDemoBean () {
        return new LazyDemoBean ();
    }
}

